﻿using System;
using System.Collections.Generic;

namespace Oscilloscope.ChannelBuffer
{
    // Token: 0x0200002A RID: 42
    public interface IChannelBufferManager
    {
        // Token: 0x06000137 RID: 311
        IChannelBuffer GetChannelBuffer(int channelSN);

        // Token: 0x06000138 RID: 312
        void SetChannelBuffer(int channelSN, IChannelBuffer channelBuffer);

        // Token: 0x06000139 RID: 313
        void SetChannelBuffer(IDictionary<int, IChannelBuffer> channelBuffers);

        // Token: 0x0600013A RID: 314
        object GetReadWriteLocker();

        /// <summary>
        /// 为Chanel添加数据
        /// </summary>
        /// <param name="sampleFrameData"></param>
        void AddChannelData(short?[] sampleFrameData);

        // Token: 0x0600013C RID: 316
        void StopAddChannelData();

        // Token: 0x0600013D RID: 317
        void RecoverAddChannelData();
    }
}
